﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vòng quay may mắn</title>
<script src="<%= ResolveUrl("~/Scripts/jquery-1.4.3.min.js")%>" type="text/javascript"></script>
<script type="text/javascript" src="<%= ResolveUrl("~/Wheel/js/swfobject.js")%>"></script>
<style type="text/css">
        *{margin:0; padding:0;}
    </style>
    <script type="text/javascript">
        jQuery(document).ready(function () {
            var layout_w = jQuery(document).height();
            var nav_header_w = jQuery("#nav-header").height();
            var iframe_h = layout_w - nav_header_w;
            jQuery("#web-iframe").css({ height: iframe_h + "px" });
        });
    </script>
<script type="text/javascript">
	window.onload = function() {
		var so = new SWFObject('wof_eng.swf', 'swft' ,500,260, "9", "#e8e6e6");
		so.addParam("name","swft");
		so.addParam("id","swft");
		so.addParam("menu", "false");
		so.addParam("quality", "high");
		if (navigator.appName == "Microsoft Internet Explorer" || (navigator.userAgent.indexOf("Safari") != -1)){
			so.addParam("wmode", "opaque");
		}
		so.addParam("allowScriptAccess", "always");
		so.addParam("salign","TL" )
		so.addParam("scale","noscale");
		so.addVariable("language", "vn");
		so.addVariable("spin_speed", "7");
		// These two variables should be populated by session variables
		so.addVariable("member_name", "");
		so.addVariable("advertizer_name", "");
		so.addVariable("member_id", "");
		so.addVariable("advertizer_id", "");
		so.addVariable("spin", "php/wof2.aspx");
		so.addVariable("results", "php/wof_result.aspx");
		//so.addVariable("rootURL", "http://localhost/ryan/");
		//so.addVariable("rootURL", "http://www.papergrave.com/ryan/");
		so.addVariable("rootURL", "http://localhost:4943/up1-vn-commercial/Wheel/");
		so.write('flash_content');
	}
</script>

</head>
<body>
    <div style="margin:0; padding:0; background: #0577B6;">
        <div style="width:750px; margin:0 auto; text-align:center">
            <div id="flash_content" style="width:400px; float:left"><img src="<%= ResolveUrl("~/images/loader.gif")%>" alt="Loading" /></div>
            <div style="width:230px; float:right;">
                <a href="<%= ResolveUrl("~/Index.html")%>">
                    <img src="<%= ResolveUrl("~/images/logo.jpg")%>" alt="" style="margin:10px 0 0 18px" class="imageCache" title="Trở về trang chủ" />
                </a>
            </div>
        </div>
    </div>
    <asp:Literal ID="ltrIframe" runat="server"></asp:Literal>
</body>
</html>
